package com.lsp.server.user.domain.po;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName UserEntity
 * @Description 用户实体类
 * @Author Mr Hao
 * @Date 2021/11/14 18:36
 */
@Data
public class UserEntity {
    private Integer id;
    private String name;
    private String password;
    private Integer sex;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    private Integer pid;
    private Integer sid;
    private Integer xid;
    private String img;
    private String hobbys;
    private Date createDate;
}
